<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection"content="telephone=no, email=no" />
    <title>一呼百应</title>
    <script>
	    javascript:window.history.forward(1);   
	</script>
    <link rel="stylesheet" href="${basePath}/css/common.css?v=141010">
    <link rel="stylesheet" href="${basePath}/css/style.css?v=141010">
</head>
<body>
	<header>
        <h1>注册成功</h1>
    </header>
    <div class="page">
        <c:if test="${empty regResult.result || regResult.result == 0}">
			<div class="success-info">
	            <h3>恭喜您<br />已成功注册并绑定商铺。</h3>
	        </div>
	        <a href="${basePath}/bind/toIndex?openid=${openid}" class="bind-btn form-btn">我的商铺</a>
	        <div class="separator"></div>
	        <p class="tips clearfix">
	            <em>温馨提示：</em>
	            <span class="tips-msg">亲，现在您的个人资料完成度为20%。如需更多功能，请前往 my.youboy.com，完善个人资料，以获得升级版体验。</span>
	        </p>
        </c:if>
        <c:if test="${not empty regResult.result && regResult.result < 0}">
         	<div class="error-msg">
        		<h3>非常抱歉<br />您已成功注册商铺，但绑定商铺失败了！</h3>
        	</div>
	        <a href="${basePath}/bind/toIndex?openid=${openid}" class="bind-btn form-btn">绑定商铺</a>
	        <div class="separator"></div>
	        <p class="error-tip">${regResult.msg}</p>
        </c:if>
        
    </div>
    <footer>
        <h1>服务热线：020-62307188</h1>
    </footer>
	
<script src="${basePath}/js/zepto.min.js"></script>
<script src="${basePath}/js/all.js"></script>

</body>
</html>